﻿
$(document).ready(function () {

    $('.subnav_ref').click(function () {
        $('.subnav_ref').removeClass('navon');
        $(this).addClass('navon');
        $('.switchpanel').hide();
        var selpanel = $(this).attr("href");
        $(selpanel).show();
        try {
            resizeGrid();
        }
        catch (err) { }
        return false;
    });
});